package com.lzhsite.technology.designPattern.visitor.DepartmentDemo;

public class B implements Visitor
{
    public void visit(PartA partA)
    {

    }

    public void visit(PartB partB)
    {
        System.out.println("B 主管 " + partB.getName());
    }
}
